import request from '@/utils/request'

// 查询查验信息汇总列表
export function listCyxxhz(data) {
  return request({
    url: '/audit/cyxxhz/list',
    method: 'post',
    data: data
  })
}

// 查询查验信息汇总详细
export function getCyxxhz(id) {
  return request({
    url: '/audit/cyxxhz/' + id,
    method: 'get'
  })
}

// 新增查验信息汇总
export function addCyxxhz(data) {
  return request({
    url: '/audit/cyxxhz',
    method: 'post',
    data: data
  })
}

// 修改查验信息汇总
export function updateCyxxhz(data) {
  return request({
    url: '/audit/cyxxhz',
    method: 'put',
    data: data
  })
}

// 删除查验信息汇总
export function delCyxxhz(id) {
  return request({
    url: '/audit/cyxxhz/' + id,
    method: 'delete'
  })
}
// 汇总
export function postCyxxhzCount(data) {
  return request({
    url: '/audit/cyxxhz/count',
    method: 'post',
    data: data
  })
}